Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Коннор%' OR REPLACE(publ_full,'.','') LIKE '%
Актёры
%Фрэ' at line 1
SQL: SELECT publ_id, publ_title, publ_small, a.pages_id, publ_bimg, publ_by, publ_update FROM cms_publications a WHERE a.active=1 AND (REPLACE(publ_full,'.','') LIKE '%Актёры
%Фрэнсис О'Коннор%' OR REPLACE(publ_full,'.','') LIKE '%
Актёры
%Фрэнсис О'Коннор%') order by pages_id, publ_update desc